package com.catering.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 订单购物车
 */
@Data
public class CateringOrderCart {
	@TableId(value = "sys_id", type = IdType.UUID)
	private String sysId;
	private String orderId;
	private String goodsId;
	private String spacesId;
	private String spacesName;
	private String goodsPrice;
	private Integer goodsNum;
	private String updateTime;
	private String createTime;

	@TableField(exist = false)
	private List<CateringOrderCart> cartslist;
	@TableField(exist = false)
	private String goodsName;
	@TableField(exist = false)
	private String goodsImg;
	@TableField(exist = false)
	private String discount;
	@TableField(exist = false)
	private Integer interNum;
}
